﻿<sdk:Page 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/datagrid" x:Class="Crm.Views.DashBoard"
           mc:Ignorable="d"
           d:DesignWidth="1024" d:DesignHeight="768"
           Title="DashBoard Page">
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="0.07*"/>
            <RowDefinition Height="0.93*"/>
        </Grid.RowDefinitions>
        <Grid Margin="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="200"/>
                <ColumnDefinition Width="200"/>
                <ColumnDefinition Width="200"/>
                <ColumnDefinition Width="200"/>
                <ColumnDefinition Width="128"/>
                <ColumnDefinition Width="72"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <Button x:Name="btnSiparis" Content="Sipariş Al" Margin="2" FontSize="16" FontWeight="Bold" Grid.Column="0"/>
            <Button x:Name="btnTeklif" Content="Teklif Ver" Grid.Column="1" Margin="2" FontSize="16" FontWeight="Bold"/>
            <Button x:Name="btnRandevu" Content="Randevu Ekle" Grid.Column="2" Margin="2" FontSize="16" FontWeight="Bold"/>
            <Button x:Name="btnGorusme" Content="Görüşmeyi Sonlandir" Grid.Column="3" Margin="2" FontSize="16" FontWeight="Bold" Click="btnGorusme_Click"/>
            <Button x:Name="btnCikis" Content="Çıkış" Grid.Column="4" Margin="2" FontSize="16" FontWeight="Bold" Click="btnCikis_Click"/>
        </Grid>
        <Grid Margin="0" Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition />
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <sdk:GridSplitter x:Name="grsplSplitter1" Grid.Row="0" Grid.Column="1" VerticalAlignment="Stretch" HorizontalAlignment="Center" Background="Black" Width="2"/>
            <sdk:GridSplitter x:Name="grsplSplitter2" Grid.Row="0" Grid.Column="3" VerticalAlignment="Stretch" HorizontalAlignment="Center" Background="Black" Width="2" Margin="0"/>
            <Grid Grid.Column="4" Margin="0">
                <Grid.RowDefinitions>
                    <RowDefinition Height="0.33*"/>
                    <RowDefinition Height="0.67*"/>
                </Grid.RowDefinitions>
                <dxg:AgDataGrid x:Name="grdGorusmeRandevu" Margin="0,2"/>
                <dxg:AgDataGrid x:Name="grdEncokSatis" Grid.Row="1" Margin="0,2"/>
            </Grid>
            <Grid Grid.Column="2">
                <Grid.RowDefinitions>
                    <RowDefinition Height="0.33*"/>
                    <RowDefinition Height="0.33*"/>
                    <RowDefinition Height="0.34*"/>
                </Grid.RowDefinitions>
                <dxg:AgDataGrid x:Name="grdGenelKampanya" Margin="0,2" Grid.Row="1"/>
                <dxg:AgDataGrid x:Name="grdFirmaKampanya" Grid.Row="3" Margin="0,2"/>
                <dxg:AgDataGrid x:Name="grdOdeme" Margin="0,2"/>
            </Grid>
            <Grid Margin="0">
                <Grid.RowDefinitions>
                    <RowDefinition Height="0.483*"/>
                    <RowDefinition Height="0.517*"/>
                </Grid.RowDefinitions>
                <dxg:AgDataGrid x:Name="grdAylikSatislar" Margin="0,2"/>
                <dxg:AgDataGrid x:Name="grdSatisDetay" Margin="0,2" Grid.Row="1"/>
            </Grid>
        </Grid>

    </Grid>
</sdk:Page>
